@import "variables.less";
.layui-table, .layui-table-view{
    margin: 0;
}
.layui-table thead tr{
    background-color: @table-bg;
}
.layui-table{
    color: @wold-1;
}
.layui-table tbody tr:hover, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even){
    background-color:  @table-bg;
}


.layui-table td, .layui-table th{
    line-height: 60px;
    padding: 0;
}
//checkbox
.layui-form-checkbox[lay-skin=primary] {
    i{
        border-radius: 5px;
        border-color: #d5d5d5;
    }
    &:hover{
        i{
            border-color: @green;
        }
    }
   
}
.layui-form-checked[lay-skin=primary] {
    i{
        border-color: @green!important;
        background-color: @green;
    }
}


// 表单
.layui-input, .layui-select, .layui-textarea{
    line-height: 32px;
    height: 32px;
}
.layui-input:focus, .layui-textarea:focus{
    border-color: @green !important;
}
.label-required-prev:before{
    width: 1em;
    color: red;
    content: '*';
    display: inline-block;
    position: absolute;
    text-align: left;
    font-weight: 700;
    line-height:30px;
    margin-left: -0.8em;
}
.layui-form-item .layui-input-inline{
    width: 100%;
    margin-right: 0;
}
.layui-form-item .layui-inline{
    margin-right: 0;
    margin-bottom: 28px;
   
}
.layui-form-label{
    width: 100px;
    padding: 0;
    line-height: 32px;
    height: 32px;
    margin-right: 10px;
}
.layui-form-switch{
    width: 64px;
    border-radius: 10px;
    height: 32px;
    line-height: 32px;
    border-color: #e5e5ed;
    i{
        width: 23px;
        height: 23px;
        top: 4px;
        border-radius: 8px;
        background: #e5e5e5;
    }
    em{
        top: -1px;
        margin-left: 33px;
    }
}
.layui-form-onswitch{
    border-color: @green;
    background-color: @green;
    i{
        margin-left: -27px;
        background: #fff;
    }
    em{
        margin-left: 5px;
    }
}
.layui-form-select dl dd.layui-this{
    background-color: @green;
  }
// 时间



body .layui-laydate .layui-this{
    background-color: @green !important;
}
.layui-laydate-footer span:hover{
    color: @green !important;
}
body .layui-laydate-header i:hover, .layui-laydate-header span:hover{
  color: @green !important;
}

// 弹出框
body{
    .layui-layer{
      border-radius: 10px;
      &[type=dialog]{
        .layui-layer-title{
  
          padding-left: 128px;
          background-position-x: 96px;
     
        
        }
        .layui-layer-content{
          text-align: center;
        //   color: @wold-2;
        }
      }
    
    .layui-layer-title{
      background-color: #fff;
      height: 60px;
      font-size: 20px;
      line-height: 20px;
      padding-top: 24px;
      background-repeat: no-repeat;
      padding-left: 175px;
      background-position-x: 146px;
      background-position-y: 22px;
      border-bottom: none;
      border-radius: 10px;
    }
    .layui-layer-setwin{
      display: none;
    }
    .layui-card{
      box-shadow: none;
    }
    .layui-layer-btn{
      text-align: center;
      padding-bottom: 22px;
      .layui-layer-btn0{
        background-color: @green;
        min-width: 65px;
        padding: 0 10px;
        border-radius: 10px;
        line-height: 32px;
        border: none;
        height: 32px;
        margin: 0;
        &:hover{
          background: @green-hover;
        }
      }
    }
  }
  
  .layui-layer{
    form{
      padding-right: 44px;
    }
    .layui-form-label{
      width: 87px;
    }
    .layui-input-block{
      margin-left: 97px;
    }
  }
  .layui-layer-msg{
    border: none;
    
  }
  .layui-layer-dialog .layui-layer-padding{
    padding-top:7px ;
    padding-bottom: 7px;
    padding-left: 45px;
    
  }
  .layui-layer-dialog.layui-layer-msg .layui-layer-padding{
    text-align: left !important;
  }
  .layui-layer-dialog .layui-layer-content .layui-layer-ico{
    width: 18px;
    height: 18px;
    top: 11px;
  }
  .layui-layer-ico{
    background-position:0 ;
    background-size: cover;
  }
  .layui-layer-ico0{
    background-image: url(../img/layer-icon/tips.png);
   
  }
  .layui-layer-ico1{
    background-image: url(../img/layer-icon/suc.png);
   
  }
  .layui-layer-ico2{
    background-image: url(../img/layer-icon/del.png);
   
  }
  .layui-layer .layui-layer-btn .layui-layer-btn1{
      background-color: @wold-bg;
      color: @wold-2;
      min-width: 65px;
      padding: 0 10px;
      border-radius: 10px;
      line-height: 32px;
      border: none;
      height: 32px;
      margin: 0;
      margin-left: 20px;
  }
}